<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:a4j="http://richfaces.org/a4j"
	xmlns:rich="http://richfaces.org/rich"
	xmlns:p="http://primefaces.prime.com.tr/ui">

<ui:composition>
	<h:panelGroup rendered="#{mProperty.propselectedtype == 'r4r'}">
	<table width="100%" cellspacing="5" cellpadding="0" border="0"
		class="table_box">
		<tbody>
			<tr>
				<td align="right" width="200px">Deposit*(Australia Dollars):</td>
				<td><h:inputText value="#{addPropertyBean.roomRent.deposit}"
						id="prop_Rdeposit" maxlength="20" validator="#{mValidatorLib.RentValidator}"/>
					<div class="table_td_message">
						<rich:message for="prop_Rdeposit" />
					</div>
				</td>
			</tr>
			<tr>
				<td align="right" width="200px">Rent*(Australia Dollars):</td>
				<td><h:inputText value="#{addPropertyBean.roomRent.rent}" validator="#{mValidatorLib.RentValidator}"
						id="prop_Rrent" maxlength="20"/>
					<div class="table_td_message">
						<rich:message for="prop_Rrent" />
					</div>
				</td>
			</tr>

			<tr>
				<td align="right"></td>
				<td><h:commandLink
						action="#{addPropertyBean.addNewRoomForRent}" styleClass="button"
						value="Publish my Property" />
				</td>
			</tr>
		</tbody>
	</table>
	</h:panelGroup>
</ui:composition>
</html>